package com.css.dzj.zfjg.modules.supervisioncompinfo.entity;

import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Objects;

/**
 * 投诉基础信息表
 */
@Entity
@Table(name = "JG_TSJB_COMPLAINT_INFO", schema = "DZJZFJG", catalog = "")
public class JgTsjbComplaintInfoEntity {
    private String uuId;
    private String registerCode;
    private String complaintObject;
    private String enterpriseCreditCode;
    private String complaintType;
    private String complaintTerritory;
    private String areaNumber;
    private String serviceType;
    private String serviceName;
    private String brand;
    private String shoppingMode;
    private String orderNumber;
    private String typeSpecification;
    private BigDecimal count;
    private String unit;
    private BigDecimal amount;
    private String productDate;
    private String disputeDate;
    private String complaintDetail;
    private String happenPlace;
    private String status;
    private String pollutionType;
    private BigDecimal involveAmount;
    private String tagName;
    //101 已分办 102已查收（待处理） 103已答复
    //104 已拒绝 105已反馈
    private String taskState;
    private String createUser;
    private Date createTime;
    private String updateUser;
    private Date updateTime;
    private Date receiveTime;
    private Date fbTime;
    private Date endTime;
    private Date fkTime;
    private String provinceCode;
    private String cityCode;
    private String countyCode;

    @Id
    @Column(name = "Uu_Id")
    public String getUuId() {
        return uuId;
    }

    public void setUuId(String uuId) {
        this.uuId = uuId;
    }

    @Basic
    @Column(name = "Register_Code")
    public String getRegisterCode() {
        return registerCode;
    }

    public void setRegisterCode(String registerCode) {
        this.registerCode = registerCode;
    }

    @Basic
    @Column(name = "Complaint_Object")
    public String getComplaintObject() {
        return complaintObject;
    }

    public void setComplaintObject(String complaintObject) {
        this.complaintObject = complaintObject;
    }

    @Basic
    @Column(name = "Enterprise_Credit_Code")
    public String getEnterpriseCreditCode() {
        return enterpriseCreditCode;
    }

    public void setEnterpriseCreditCode(String enterpriseCreditCode) {
        this.enterpriseCreditCode = enterpriseCreditCode;
    }

    @Basic
    @Column(name = "Complaint_Type")
    public String getComplaintType() {
        return complaintType;
    }

    public void setComplaintType(String complaintType) {
        this.complaintType = complaintType;
    }

    @Basic
    @Column(name = "Complaint_Territory")
    public String getComplaintTerritory() {
        return complaintTerritory;
    }

    public void setComplaintTerritory(String complaintTerritory) {
        this.complaintTerritory = complaintTerritory;
    }

    @Basic
    @Column(name = "Area_Number")
    public String getAreaNumber() {
        return areaNumber;
    }

    public void setAreaNumber(String areaNumber) {
        this.areaNumber = areaNumber;
    }

    @Basic
    @Column(name = "Service_Type")
    public String getServiceType() {
        return serviceType;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    @Basic
    @Column(name = "Service_Name")
    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    @Basic
    @Column(name = "Brand")
    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    @Basic
    @Column(name = "Shopping_Mode")
    public String getShoppingMode() {
        return shoppingMode;
    }

    public void setShoppingMode(String shoppingMode) {
        this.shoppingMode = shoppingMode;
    }

    @Basic
    @Column(name = "Order_Number")
    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    @Basic
    @Column(name = "Type_Specification")
    public String getTypeSpecification() {
        return typeSpecification;
    }

    public void setTypeSpecification(String typeSpecification) {
        this.typeSpecification = typeSpecification;
    }

    @Basic
    @Column(name = "Count")
    public BigDecimal getCount() {
        return count;
    }

    public void setCount(BigDecimal count) {
        this.count = count;
    }

    @Basic
    @Column(name = "Unit")
    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    @Basic
    @Column(name = "Amount")
    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    @Basic
    @Column(name = "Product_Date")
    public String getProductDate() {
        return productDate;
    }

    public void setProductDate(String productDate) {
        this.productDate = productDate;
    }

    @Basic
    @Column(name = "Dispute_Date")
    public String getDisputeDate() {
        return disputeDate;
    }

    public void setDisputeDate(String disputeDate) {
        this.disputeDate = disputeDate;
    }

    @Basic
    @Column(name = "Complaint_Detail")
    public String getComplaintDetail() {
        return complaintDetail;
    }

    public void setComplaintDetail(String complaintDetail) {
        this.complaintDetail = complaintDetail;
    }

    @Basic
    @Column(name = "Happen_Place")
    public String getHappenPlace() {
        return happenPlace;
    }

    public void setHappenPlace(String happenPlace) {
        this.happenPlace = happenPlace;
    }

    @Basic
    @Column(name = "Status")
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Basic
    @Column(name = "Pollution_Type")
    public String getPollutionType() {
        return pollutionType;
    }

    public void setPollutionType(String pollutionType) {
        this.pollutionType = pollutionType;
    }

    @Basic
    @Column(name = "Involve_Amount")
    public BigDecimal getInvolveAmount() {
        return involveAmount;
    }

    public void setInvolveAmount(BigDecimal involveAmount) {
        this.involveAmount = involveAmount;
    }

    @Basic
    @Column(name = "Tag_Name")
    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    @Basic
    @Column(name = "Task_State")
    public String getTaskState() {
        return taskState;
    }

    public void setTaskState(String taskState) {
        this.taskState = taskState;
    }

    @Basic
    @Column(name = "Create_User")
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    @Basic
    @Column(name = "Create_Time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "Update_User")
    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    @Basic
    @Column(name = "Update_Time")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Basic
    @Column(name = "Receive_Time")
    public Date getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(Date receiveTime) {
        this.receiveTime = receiveTime;
    }

    @Basic
    @Column(name = "Fb_Time")
    public Date getFbTime() {
        return fbTime;
    }

    public void setFbTime(Date fbTime) {
        this.fbTime = fbTime;
    }

    @Basic
    @Column(name = "End_Time")
    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Basic
    @Column(name = "Fk_Time")
    public Date getFkTime() {
        return fkTime;
    }

    public void setFkTime(Date fkTime) {
        this.fkTime = fkTime;
    }

    @Basic
    @Column(name = "province_code")
    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    @Basic
    @Column(name = "city_code")
    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    @Basic
    @Column(name = "county_code")
    public String getCountyCode() {
        return countyCode;
    }

    public void setCountyCode(String countyCode) {
        this.countyCode = countyCode;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        JgTsjbComplaintInfoEntity that = (JgTsjbComplaintInfoEntity) o;
        return Objects.equals(uuId, that.uuId) &&
                Objects.equals(registerCode, that.registerCode) &&
                Objects.equals(complaintObject, that.complaintObject) &&
                Objects.equals(enterpriseCreditCode, that.enterpriseCreditCode) &&
                Objects.equals(complaintType, that.complaintType) &&
                Objects.equals(complaintTerritory, that.complaintTerritory) &&
                Objects.equals(areaNumber, that.areaNumber) &&
                Objects.equals(serviceType, that.serviceType) &&
                Objects.equals(serviceName, that.serviceName) &&
                Objects.equals(brand, that.brand) &&
                Objects.equals(shoppingMode, that.shoppingMode) &&
                Objects.equals(orderNumber, that.orderNumber) &&
                Objects.equals(typeSpecification, that.typeSpecification) &&
                Objects.equals(count, that.count) &&
                Objects.equals(unit, that.unit) &&
                Objects.equals(amount, that.amount) &&
                Objects.equals(productDate, that.productDate) &&
                Objects.equals(disputeDate, that.disputeDate) &&
                Objects.equals(complaintDetail, that.complaintDetail) &&
                Objects.equals(happenPlace, that.happenPlace) &&
                Objects.equals(status, that.status) &&
                Objects.equals(pollutionType, that.pollutionType) &&
                Objects.equals(involveAmount, that.involveAmount) &&
                Objects.equals(tagName, that.tagName) &&
                Objects.equals(taskState, that.taskState) &&
                Objects.equals(createUser, that.createUser) &&
                Objects.equals(createTime, that.createTime) &&
                Objects.equals(updateUser, that.updateUser) &&
                Objects.equals(updateTime, that.updateTime) &&
                Objects.equals(receiveTime, that.receiveTime) &&
                Objects.equals(fbTime, that.fbTime) &&
                Objects.equals(endTime, that.endTime) &&
                Objects.equals(fkTime, that.fkTime) &&
                Objects.equals(provinceCode, that.provinceCode) &&
                Objects.equals(cityCode, that.cityCode) &&
                Objects.equals(countyCode, that.countyCode);
    }

    @Override
    public int hashCode() {
        return Objects.hash(uuId, registerCode, complaintObject, enterpriseCreditCode, complaintType, complaintTerritory, areaNumber, serviceType, serviceName, brand, shoppingMode, orderNumber, typeSpecification, count, unit, amount, productDate, disputeDate, complaintDetail, happenPlace, status, pollutionType, involveAmount, tagName, taskState, createUser, createTime, updateUser, updateTime, receiveTime, fbTime, endTime, fkTime, provinceCode, cityCode, countyCode);
    }
}
